const {addDecoratorsLegacy ,override, fixBabelImports ,addLessLoader} = require('customize-cra')
const modifyVars = require('./lessVars')

module.exports = override(
    fixBabelImports('import', {
        libraryName: 'antd',
        libraryDirectory: 'es',
        style: true,
    }),
    addLessLoader({
      javascriptEnabled: true,
      modifyVars
    }),
    addDecoratorsLegacy()
)

    